package cn.jeeweb.web.modules.sys.entity;

import cn.jeeweb.common.mvc.entity.DataEntity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * Created by DELL on 2019/10/24.
 */
public class UiSearchScheme extends DataEntity<String> {

    @TableId(value = "id", type = IdType.UUID)
    private String id;
    @TableField(value = "title")
    private String title;
    @TableField(value = "localKey")
    private String localKey;
    @TableField(value = "code")
    private String code;
    @TableField(value = "conditions")
    private String conditions;
    @TableField(value = "isDefault")
    private int isDefault;
    @TableField(value = "module_id")
    private String moduleId;
    @TableField(value = "ownerId")
    private String ownerId;

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLocalKey() {
        return localKey;
    }

    public void setLocalKey(String localKey) {
        this.localKey = localKey;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getConditions() {
        return conditions;
    }

    public void setConditions(String conditions) {
        this.conditions = conditions;
    }

    public int getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(int isDefault) {
        this.isDefault = isDefault;
    }

    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }
}
